//
//  ViewController.m
//  DealImage
//
//  Created by hs on 2017/6/30.
//  Copyright © 2017年 jiachen. All rights reserved.
//

#import "ViewController.h"
#import "CoreImageViewController.h"
#import "OpenCvViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    
    // Do any additional setup after loading the view, typically from a nib.
}

- (IBAction)btnAction:(UIButton *)sender {
    
    NSLog(@"%ld",sender.tag);
    
    if (sender.tag == 101) {
        
        [self.navigationController pushViewController:[[OpenCvViewController alloc]init] animated:YES];
        
    }else if (sender.tag == 100){
        [self.navigationController pushViewController:[[CoreImageViewController alloc]init] animated:YES];
    }
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
